package com.spring.study.controller;


import com.spring.study.deepseek.DeepSeek;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ds")
public class DeepSeekController {

    @Autowired
    private DeepSeek deepSeek;

    @RequestMapping(value = "/send",method = RequestMethod.GET)
    public String send(@RequestParam("content") String content){
        return deepSeek.send(content);
    }
}
